package com.trkj.dao.jpa;

import java.math.BigDecimal;
import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojos.CcScheduledetail;

public interface CcScheduledetailDAO extends CrudRepository<CcScheduledetail, Long> {

	@Query("select c from CcScheduledetail c  where c.schId=?1")
	public List<CcScheduledetail> queryByschId(BigDecimal schId);
}
